export interface ApiAuthorityResp {
  path: string;
  method: string;
}

export interface MenuAuthorityResp {
  menuIds: number[];
  roleId: number;
}
export interface ApiAuthorityItem {
  method: string;
  path: string;
  [key: string]: any;
}
export interface ApiAuthorityReq {
  data?: ApiAuthorityItem[];
  roleId?: number;
}
export interface MenuAuthorityReq {
  roleId?: number;
  menuIds?: number[];
}
